package com.baizhi.shane;

import com.baizhi.shane.config.InterceptorConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@MapperScan({"com.baizhi.shane.sys.mapper","com.baizhi.shane.shane.mapper","com.baizhi.shane.sys.manager"})
//@ComponentScan("com.baizhi.shane.config")
@Import(InterceptorConfig.class)
public class ShaneApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShaneApplication.class, args);
    }

}
